package com.dhbw.ui.model;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.model.SelectItem;


@ManagedBean
@SessionScoped
public class CalculationBean {
	
	private int no1;
	private int no2;
	private int result;
	private String payment;
	private List<SelectItem> allPaymentTypes = new ArrayList<SelectItem>();
	
	public String getPayment() {
		return payment;
	}
	public void setPayment(String payment) {
		this.payment = payment;
	}
	public int getNo1() {
		return no1;
	}
	public void setNo1(int no1) {
		this.no1 = no1;
	}
	public int getNo2() {
		return no2;
	}
	public void setNo2(int no2) {
		this.no2 = no2;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	public List<SelectItem> getAllPaymentTypes() {
		return allPaymentTypes;
	}
	public void setAllPaymentTypes(List<SelectItem> allPaymentTypes) {
		this.allPaymentTypes = allPaymentTypes;
	}
	

}
